Richard M. Stallman [Wed, 14 Apr 1993 21:44:04 +0000 (21:44 +0000)]
(resume-suspend-hook): Renamed from resume-empty-args-file.
Richard M. Stallman [Wed, 14 Apr 1993 21:41:27 +0000 (21:41 +0000)]
(resume-empty-args-file): Renamed from empty-args-file.
Add autoload cookie.
(resume-emacs-args-buffer): Renamed.
(resume-write-buffer-to-file): Renamed.
Roland McGrath [Wed, 14 Apr 1993 19:56:19 +0000 (19:56 +0000)]
(update-file-autoloads, update-directory-autoloads): If called
interactively, save generated-autoload-file when done.
Richard M. Stallman [Wed, 14 Apr 1993 19:47:05 +0000 (19:47 +0000)]
(makefile-mode): Fix typo in autoload cookie.
Richard M. Stallman [Wed, 14 Apr 1993 19:40:53 +0000 (19:40 +0000)]
Doc fixes.
Eric S. Raymond [Wed, 14 Apr 1993 16:41:51 +0000 (16:41 +0000)]
(gud-mode): Created C-c synonym bindings in the GUD buffer's local map.
(gud-key-prefix): Changed to C-x C-a.
Eric S. Raymond [Wed, 14 Apr 1993 16:38:49 +0000 (16:38 +0000)]
Name changed from sun-cursors.el to protect the innocents.
Eric S. Raymond [Wed, 14 Apr 1993 16:33:20 +0000 (16:33 +0000)]
Name changed to fit in a 14-character limit.
Eric S. Raymond [Wed, 14 Apr 1993 03:34:44 +0000 (03:34 +0000)]
(shrink-window-if-larger-than-buffer): Moved from electric.el to windows.el,
minor bug fix. This is to avoid code duplication between vc.el,
electric.el, and finder.el.
(ctl-x-map): Added C-x - and C-x + as bindings for
shrink-window-if-larger-than-buffer and balance-windows respectively.
Since shrink-window-if-larger-than-buffer has to live here anyhow, let
users use it to manage screen space.
Eric S. Raymond [Wed, 14 Apr 1993 03:34:42 +0000 (03:34 +0000)]
(lm-commentary-region): Gone.
(lm-commentary): New function.
Eric S. Raymond [Wed, 14 Apr 1993 03:34:39 +0000 (03:34 +0000)]
Rewritten. The Finder is now a major mode with the ability to browse
package commentary sections.
Richard M. Stallman [Tue, 13 Apr 1993 05:54:19 +0000 (05:54 +0000)]
(message, message1): If noninteractive and
cursor_in_echo_area, don't print a newline at end of message.
Richard M. Stallman [Tue, 13 Apr 1993 05:54:00 +0000 (05:54 +0000)]
(Fy_or_n_p): Echo the answer just once, at exit.
Richard M. Stallman [Mon, 12 Apr 1993 07:54:16 +0000 (07:54 +0000)]
(rot13-display-table): Use `vector', not `make-rope'.
Richard M. Stallman [Mon, 12 Apr 1993 07:54:04 +0000 (07:54 +0000)]
Use `vector', not `make-rope'.
Richard M. Stallman [Mon, 12 Apr 1993 07:49:31 +0000 (07:49 +0000)]
(rot13-other-window): Add autoload.
Richard M. Stallman [Sun, 11 Apr 1993 21:22:35 +0000 (21:22 +0000)]
(find-file-noselect): Verify other buffers' file numbers are still valid.
Richard M. Stallman [Sun, 11 Apr 1993 04:02:23 +0000 (04:02 +0000)]
(fill-nonuniform-paragraphs): New command.
Eric S. Raymond [Sat, 10 Apr 1993 14:28:05 +0000 (14:28 +0000)]
(gdb, sdb, dbx): Improved prompting a la grep.
Eric S. Raymond [Sat, 10 Apr 1993 14:27:54 +0000 (14:27 +0000)]
Clean up cmu* uses in header comments.
Jim Blandy [Sat, 10 Apr 1993 08:31:28 +0000 (08:31 +0000)]
* Makefile.in (xmakefile): Recognize the -O option with a numeric
optimization level.
* ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or
higher, use -O99 instead of plain -O.
Jim Blandy [Sat, 10 Apr 1993 08:30:27 +0000 (08:30 +0000)]
* configure.in: Don't set CC to "gcc -O" if the user specifies
`--with-gcc'. Add -O to DEFS if GCC is set.
Jim Blandy [Sat, 10 Apr 1993 08:05:07 +0000 (08:05 +0000)]
long_to_cons and cons_to_long are generally useful things; they're
needed whether or not X is defined.
* xselect.c (long_to_cons, cons_to_long): Moved from here...
* data.c (long_to_cons, cons_to_long): ... to here.
* lisp.h (long_to_cons, cons_to_long): Add extern declaration.
Jim Blandy [Sat, 10 Apr 1993 08:04:27 +0000 (08:04 +0000)]
Since Qmenu_enable is used by non-X-specific code, it shouldn't be
defined in an X-only source file.
* xmenu.c (Qmenu_enable): Definition moved...
(syms_of_xmenu): ... along with initialization ...
* keyboard.c (Qmenu_enable): ... to here ...
(syms_of_keyboard): ... and here.
Jim Blandy [Sat, 10 Apr 1993 08:03:51 +0000 (08:03 +0000)]
* xfaces.c (sort_overlays): Define this to be static, as declared.
Jim Blandy [Sat, 10 Apr 1993 08:02:22 +0000 (08:02 +0000)]
* keyboard.c (command_loop_1): Rebuild menu bar if
update_mode_lines is set.
Since Qmenu_enable is used by non-X-specific code, it shouldn't be
defined in an X-only source file.
* xmenu.c (Qmenu_enable): Definition moved...
(syms_of_xmenu): ... along with initialization ...
* keyboard.c (Qmenu_enable): ... to here ...
(syms_of_keyboard): ... and here.
* keyboard.c (kbd_buffer_get_event): If we get a selection clear
or selection request event, but we were compiled without the
window-system-specific code to handle it, abort. Don't try to
call a function which doesn't exist.
* keyboard.c (make_lispy_event): In the code which processes mouse
clicks, declare f to be a FRAME_PTR, not a struct frame *; this
works when MULTI_FRAME is not #defined.
Jim Blandy [Sat, 10 Apr 1993 08:00:27 +0000 (08:00 +0000)]
* dispnew.c (getenv): Extern declaration deleted; this is done in
config.h.
* dispnew.c (init_display): Compare the return value of getenv to
zero before setting display_arg, instead of just using the pointer
as a truth value.
Jim Blandy [Sat, 10 Apr 1993 07:59:02 +0000 (07:59 +0000)]
Adjust for autoconf merger.
* config.h.in: Add extra line to top, in case autoconf gets fixed
and decides not to add Makefile-style comments to the top of the
files it generates which we are forced to lop off.
Indicate that the boolean macros here get their definitions via
the DEFS Makefile variable.
Adjust the operating system and machine #includes to use
autoload's @cookies@.
(RETSIGTYPE): Give this a default value.
(SIGTYPE): Set this from RETSIGTYPE.
(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
(xmakefile): Pass CFLAGS to ${CPP}.
Jim Blandy [Sat, 10 Apr 1993 07:58:30 +0000 (07:58 +0000)]
* callproc.c (relocate_fd): Make messages string literals, not
initialized arrays.
Jim Blandy [Sat, 10 Apr 1993 07:57:57 +0000 (07:57 +0000)]
* buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
arguments.
(recenter_overlay_lists): New argument BUF, to use instead of the
current buffer.
(Foverlay_recenter): Pass the appropriate arguments to
recenter_overlay_lists.
* buffer.c (Fdelete_overlay): Don't assume that overlay is in the
current buffer. Don't forget to declare the argument a Lisp_Object.
Jim Blandy [Sat, 10 Apr 1993 07:57:21 +0000 (07:57 +0000)]
* alloc.c (__malloc_hook, __realloc_hook, __free_hook): Declare
these extern, not static. (!)
* alloc.c (__malloc_hook, old_malloc_hook, __realloc_hook,
old_realloc_hook): Declare that the functions these point to return
void *, not void.
Jim Blandy [Sat, 10 Apr 1993 07:53:50 +0000 (07:53 +0000)]
Adjust for autoconf merger.
* config.h.in: Add extra line to top, in case autoconf gets fixed
and decides not to add Makefile-style comments to the top of the
files it generates which we are forced to lop off.
Indicate that the boolean macros here get their definitions via
the DEFS Makefile variable.
Adjust the operating system and machine #includes to use
autoload's @cookies@.
(RETSIGTYPE): Give this a default value.
(SIGTYPE): Set this from RETSIGTYPE.
(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
(xmakefile): Pass CFLAGS to ${CPP}.
* Makefile.in (tagsfiles): Remove external-lisp from this list of
files; we're not distributing it, so the normal build process
shouldn't depend on it.
Jim Blandy [Sat, 10 Apr 1993 07:45:07 +0000 (07:45 +0000)]
* keyboard.c (echo_dash): Do nothing if echoptr is 0.
Jim Blandy [Sat, 10 Apr 1993 06:21:55 +0000 (06:21 +0000)]
* subr.el (overlay-start, overlay-end, overlay-buffer): New
defsubsts.
Jim Blandy [Sat, 10 Apr 1993 06:21:16 +0000 (06:21 +0000)]
Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* paragraphs.el (sentence-end, forward-sentence): Doc fixes.
Jim Blandy [Sat, 10 Apr 1993 06:20:55 +0000 (06:20 +0000)]
* finder.el (finder-by-keyword): Build an alist to pass to
completing-read, instead of building an invalid obarray.
* finder.el (finder-by-keyword): If the user quits or enters the
empty string in response to the keyword prompt, restore the old
window configuration properly.
Jim Blandy [Sat, 10 Apr 1993 06:16:34 +0000 (06:16 +0000)]
* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
Jim Blandy [Sat, 10 Apr 1993 06:04:53 +0000 (06:04 +0000)]
* make-dist: Distribute lib-src/rcs-checkin.
Jim Blandy [Sat, 10 Apr 1993 06:02:36 +0000 (06:02 +0000)]
* configure.in: When checking for X windows, search for an X11
subdirectory of ${x_includes}.
* configure.in: Check for gettimeofday function, for getdate.y.
Change `configure' to a mixture of custom code and autoconf stuff.
autoconf can't derive all the information we need, but we'd really
like to be able to take advantage of some of its tests, and its
file-editing facilities.
* configure.in: Renamed from configure.
Quote the sections of shell script we want copied literally to
the configure script.
(compile): Initialize this to make the autoconf macros' code happy.
Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
code to do their jobs.
Use autoconf to produce Makefile and src/config.h.
Remove the Makefile-style comment that autoconf places at the top
of src/config.h.
(config_h_opts): Removed - no longer necessary.
* Makefile.in (configname): Renamed to configuration.
(CONFIG_CFLAGS): Renamed to DEFS.
(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
get values via autoload @cookies@.
(libsrc_libs): Get this from autoconf. We used to do nothing
about this.
(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.
Jim Blandy [Sat, 10 Apr 1993 06:01:49 +0000 (06:01 +0000)]
* Makefile.in (clean mostlyclean): Missing right paren.
Change `configure' to a mixture of custom code and autoconf stuff.
autoconf can't derive all the information we need, but we'd really
like to be able to take advantage of some of its tests, and its
file-editing facilities.
* configure.in: Renamed from configure.
Quote the sections of shell script we want copied literally to
the configure script.
(compile): Initialize this to make the autoconf macros' code happy.
Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
code to do their jobs.
Use autoconf to produce Makefile and src/config.h.
Remove the Makefile-style comment that autoconf places at the top
of src/config.h.
(config_h_opts): Removed - no longer necessary.
* Makefile.in (configname): Renamed to configuration.
(CONFIG_CFLAGS): Renamed to DEFS.
(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
get values via autoload @cookies@.
(libsrc_libs): Get this from autoconf. We used to do nothing
about this.
(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.
* Makefile.in (src/paths.h, lib-src/Makefile, src/Makefile): Don't
echo the move-if-change command.
Tom Wood [Fri, 9 Apr 1993 23:43:20 +0000 (23:43 +0000)]
> Default to bsd if vendor is next.
Eric S. Raymond [Fri, 9 Apr 1993 23:17:05 +0000 (23:17 +0000)]
(emerge-with-ancestor): Applied Donald Erway's fix patch, which
included the following explanatory comment: "D.Erway - This used to
just do emerge-get-diff3-group on 2, then on 3. This was incorrect,
since the file 3 info for a diff can preceed the file 2 info for that
same diff. So we save and restore point to overcome this.
Richard M. Stallman [Fri, 9 Apr 1993 21:53:00 +0000 (21:53 +0000)]
Accept i370, mvs.
For i370-ibm*, assume mvs by default.
Later, likewise, for i370-*.
For -mvs*, assume ibm as default vendor.
Roland McGrath [Thu, 8 Apr 1993 21:47:39 +0000 (21:47 +0000)]
(generate-file-autoloads): Doc fix.
Eric S. Raymond [Thu, 8 Apr 1993 16:51:04 +0000 (16:51 +0000)]
(vc-comment-to-change-log): Merged in the remainder of jimb's last
change.
Eric S. Raymond [Thu, 8 Apr 1993 16:35:59 +0000 (16:35 +0000)]
dired-noselect, dired-internal-noselect, dired-insert-directory:
Enhancements to support passing dired a DIRNAME argument consisting
of a directory-name car and a list-of-files cdr. This is needed to
support VC's augmented dired, which wants a filtered file display
that recurses (showing all version-controlled files in subdirectories
as well as the top-level ones).
Eric S. Raymond [Thu, 8 Apr 1993 16:35:57 +0000 (16:35 +0000)]
vc-mode: name change.
Eric S. Raymond [Thu, 8 Apr 1993 16:35:52 +0000 (16:35 +0000)]
(vc-directory. vc-start-entry, vc-next-action, vc-next-action-on-file):
The vc-directory listing is now in an augmented Dired mode that supports
vc-next-action on all marked files.
Eric S. Raymond [Thu, 8 Apr 1993 16:35:48 +0000 (16:35 +0000)]
Massive changes, amounting nearly to a rewrite. The new features
include auto-configuring support for SVr4, more commands, and a full minor-mode
implementation that binds all GUD commands not just in the GUD interaction
mode, but in C buffers visited by GUD. The common prefix of GUD commands is
now C-x X, like electric-debug mode.
Eric S. Raymond [Thu, 8 Apr 1993 16:17:43 +0000 (16:17 +0000)]
Added and corrected library headers.
Jim Blandy [Thu, 8 Apr 1993 09:32:50 +0000 (09:32 +0000)]
* make-dist: It's oldXMenu/compile.com, not oldXMenu/compile.mms.
Don't try to make links to the RCS or Old subdirectories.
Use the appropriate extension for the compression type in use.
Create the tar file in the shell's initial default directory, not
in ${tempparent}.
Erase the whole ${tempparent} tree, not just ${tempdir}.
Richard M. Stallman [Thu, 8 Apr 1993 07:10:42 +0000 (07:10 +0000)]
(Fkill_all_local_variables): Store each var's current value
in the buffer's alist entry, before reverting to the default value.
Richard M. Stallman [Thu, 8 Apr 1993 07:10:13 +0000 (07:10 +0000)]
entered into RCS
Richard M. Stallman [Thu, 8 Apr 1993 06:57:54 +0000 (06:57 +0000)]
Add copyright notice.
Jim Blandy [Thu, 8 Apr 1993 02:06:43 +0000 (02:06 +0000)]
* make-docfile.c (write_c_args): Print an argument named "defalt"
as "default".
Jim Blandy [Thu, 8 Apr 1993 00:14:50 +0000 (00:14 +0000)]
* keyboard.c (apply_modifiers): Fix typo in sanity check.
Jim Blandy [Wed, 7 Apr 1993 23:54:28 +0000 (23:54 +0000)]
* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
Remove `extern' keywords - these are the definitions.
Richard M. Stallman [Wed, 7 Apr 1993 22:11:21 +0000 (22:11 +0000)]
Include blockinput.h.
Richard M. Stallman [Wed, 7 Apr 1993 22:09:23 +0000 (22:09 +0000)]
(interrupt_input_blocked): Make this signed int.
Roland McGrath [Wed, 7 Apr 1993 20:58:20 +0000 (20:58 +0000)]
(compile-internal): Initialize the process-mark.
Richard M. Stallman [Wed, 7 Apr 1993 20:25:14 +0000 (20:25 +0000)]
(UNBLOCK_INPUT): Fix typo.
Roland McGrath [Wed, 7 Apr 1993 20:14:29 +0000 (20:14 +0000)]
(compilation-error-regexp-alist): Tighten first regexp so that it
requires a colon or open-paren before the line number, not just
whitespace.
Richard M. Stallman [Wed, 7 Apr 1993 20:08:55 +0000 (20:08 +0000)]
(search_buffer): Fix typo in previous change.
Richard M. Stallman [Wed, 7 Apr 1993 20:04:50 +0000 (20:04 +0000)]
Fix typo in comment delimiter.
Roland McGrath [Wed, 7 Apr 1993 19:57:10 +0000 (19:57 +0000)]
(compilation-parse-errors): Remove debugging setq.
Roland McGrath [Wed, 7 Apr 1993 18:34:17 +0000 (18:34 +0000)]
(compilation-filter): New function.
(compile-internal): Make it the process's filter.
Roland McGrath [Wed, 7 Apr 1993 18:26:27 +0000 (18:26 +0000)]
(compilation-error-regexp-alist): Fixed MIPS CC regexp to match file
names longer than one char.
(compilation-parse-errors): Error if compilation-error-regexp-alist is nil.
Jim Blandy [Wed, 7 Apr 1993 16:36:59 +0000 (16:36 +0000)]
* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
of defining LINKER to use cc.
* s/aix3-1.h (LINKER): Don't use cc for linking command if we're
using GCC.
* s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
Jim Blandy [Wed, 7 Apr 1993 15:14:21 +0000 (15:14 +0000)]
Doc fix.
Jim Blandy [Wed, 7 Apr 1993 14:57:22 +0000 (14:57 +0000)]
* xterm.c (updating_frame): Declare this extern instead of static,
so it's the same variable as the updating_frame in term.c.
(XTupdate_begin, XTupdate_end): Don't bother to set
updating_frame; the term.c functions take care of that for us.
Richard M. Stallman [Wed, 7 Apr 1993 04:27:30 +0000 (04:27 +0000)]
(untabify): Don't really change where restriction starts.
Richard M. Stallman [Tue, 6 Apr 1993 17:11:57 +0000 (17:11 +0000)]
(dired-pop-to-buffer): Adjust count-lines val for last line.
Jim Blandy [Tue, 6 Apr 1993 02:42:52 +0000 (02:42 +0000)]
*** empty log message ***
Roland McGrath [Mon, 5 Apr 1993 23:52:16 +0000 (23:52 +0000)]
(vc-comment-to-change-log): Renamed from vc-comment-to-changelog.
Take optional arg and pass it to find-change-log.
Added docstring and interactive spec.
Roland McGrath [Mon, 5 Apr 1993 23:48:01 +0000 (23:48 +0000)]
(find-change-log): New function.
(add-change-log-entry): FILE-NAME frobnicating code moved there; call it.
Jim Blandy [Mon, 5 Apr 1993 23:10:10 +0000 (23:10 +0000)]
* editfns.c (Fcurrent_time_zone): Return a list whose elements are
nil if the time zone information is unavailable, instead of
signalling an error.
Roland McGrath [Mon, 5 Apr 1993 22:35:50 +0000 (22:35 +0000)]
(compilation-error-regexp-alist): Merged HP-UX 7.0 fc regexp with the
GNU format regexp: just allowing blanks to terminate the line number
makes that one handle the HP case. Merged MIPS RISC CC regexp with
Apollo cc regexp: make "s optional, and don't anchor to bol.
Roland McGrath [Mon, 5 Apr 1993 21:13:43 +0000 (21:13 +0000)]
(compilation-error-regexp-alist): Changed MIPS RISC CC regexp (last one) to
be anchored at bol, and to never match multiple lines.
Jim Blandy [Mon, 5 Apr 1993 21:00:51 +0000 (21:00 +0000)]
* s/vms.h (EXEC_SUFFIXES): Add definition for this.
Richard M. Stallman [Mon, 5 Apr 1993 06:23:05 +0000 (06:23 +0000)]
(dired-unmark-all-files): Read the arg as just a char.
Eric S. Raymond [Sat, 3 Apr 1993 23:28:03 +0000 (23:28 +0000)]
Added or corrected documentation headers
Eric S. Raymond [Sat, 3 Apr 1993 23:28:03 +0000 (23:28 +0000)]
Initial revision
Noah Friedman [Sat, 3 Apr 1993 11:00:56 +0000 (11:00 +0000)]
new comint-read-noecho.
Jim Blandy [Fri, 2 Apr 1993 23:17:33 +0000 (23:17 +0000)]
*** empty log message ***
Jim Blandy [Fri, 2 Apr 1993 22:53:56 +0000 (22:53 +0000)]
*** empty log message ***
Eric S. Raymond [Fri, 2 Apr 1993 16:41:54 +0000 (16:41 +0000)]
(repeat-history-command): Bug fix. Someone forgot a car.
Richard M. Stallman [Fri, 2 Apr 1993 08:12:40 +0000 (08:12 +0000)]
(mpuz-try-letter): Use read-char to read digit.
Use message directly also. Use downcase.
(mpuz-read-map): Deleted.
Richard M. Stallman [Thu, 1 Apr 1993 22:20:19 +0000 (22:20 +0000)]
(eval-defun): Rename argument to avoid collision.
(eval-last-sexp): Likewise.
Noah Friedman [Thu, 1 Apr 1993 05:30:04 +0000 (05:30 +0000)]
[log entry censored by the NSA]
Roland McGrath [Thu, 1 Apr 1993 02:11:02 +0000 (02:11 +0000)]
(etags-tags-completion-table): Rewritten with a mondo regexp.
Jim Blandy [Thu, 1 Apr 1993 01:07:38 +0000 (01:07 +0000)]
* timer.el (timer-program): New defconst.
(run-at-time): Use timer-program as the name of the program the
subprocess should run, and search for it in exec-directory, rather
than checking the entire exec path.
Roland McGrath [Wed, 31 Mar 1993 23:42:37 +0000 (23:42 +0000)]
(indent-for-comment): Use skip-syntax-backward in place of
skip-chars-backward.
Correctly set INDENT to the return value of comment-indent-function.
Roland McGrath [Wed, 31 Mar 1993 23:30:25 +0000 (23:30 +0000)]
(etags-tags-completion-table): Use skip-syntax-backward instead of
skip-chars-backward.
Roland McGrath [Wed, 31 Mar 1993 23:16:10 +0000 (23:16 +0000)]
(view-buffer-other-window): Remove spurious backslashes from
interactive spec.
Roland McGrath [Wed, 31 Mar 1993 23:12:07 +0000 (23:12 +0000)]
(view-exit): Use local map view-old-local-map, not (current-local-map).
Roland McGrath [Wed, 31 Mar 1993 22:20:33 +0000 (22:20 +0000)]
(map-y-or-n-p): Make bindings of user-defined keys be each a vector
containing the user's binding, rather than 'user. Check (vectorp DEF)
and call the vector's elt, rather than checking (eq 'user DEF) and
calling something completely random.
Roland McGrath [Wed, 31 Mar 1993 21:25:06 +0000 (21:25 +0000)]
(enable-command): Remove spurious assignment of free variable `foo'.
Roland McGrath [Wed, 31 Mar 1993 21:11:33 +0000 (21:11 +0000)]
(describe-function): For Lisp functions, write a prototype call before
the docstring, instead of an argument description after it.
Jim Blandy [Wed, 31 Mar 1993 10:55:33 +0000 (10:55 +0000)]
Put interrupt input blocking in a separate file from xterm.h.
This isn't specific to X, and it allows us to avoid #including
xterm.h in files that don't really have anything to do with X.
* blockinput.h: New file.
* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
(x_input_blocked, x_pending_input): Deleted; there are analogs
in blockinput.h called interrupt_input_blocked and
interrupt_input_pending.
* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
New variables, used by the macros in blockinput.h.
* xterm.c: #include blockinput.h.
(x_input_blocked, x_pending_input): Deleted.
(XTread_socket): Test and set interrupt_input_blocked and
interrupt_input_pending instead of the old variables.
* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
#include blockinput.h.
* eval.c: #include blockinput.h instead of xterm.h.
* keyboard.c: #include blockinput.h.
(input_poll_signal): Just test
interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
x_input_blocked.
Block the processing of interrupt input while we're manipulating the
malloc heap.
* alloc.c: (xfree): New function, to make it easy to free things
safely.
(xmalloc, xrealloc): Block X input while doing the deed.
(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
instead of free.
(uninterrupt_malloc): New function, to install input-blocking
hooks into the GNU malloc routines.
* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
on startup.
* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
Use xmalloc instead of malloc; don't bother to check if out of
memory here.
(Fgarbage_collect): Call xrealloc instead of realloc.
* buffer.c: Use xmalloc and xfree instead of malloc and free;
don't bother to check if out of memory here.
(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
calls to ralloc routines.
* insdel.c: Same.
* lisp.h (xfree): New extern declaration.
* xfaces.c (xfree): Don't #define this to be free; use the
definition in alloc.c.
* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
xmenu.c, xterm.c: Use xfree instead of free.
* hftctl.c: Use xfree and xmalloc instead of free and malloc.
* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
and malloc.
* search.c: Since the regexp routines can malloc, BLOCK_INPUT
while runing them. #include blockinput.h.
* sysdep.c: #include blockinput.h. Call xfree and xmalloc instead
of free and malloc. BLOCK_INPUT around routines which we know
will call malloc.
ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
these depend on blockinput.h.
Jim Blandy [Wed, 31 Mar 1993 10:47:13 +0000 (10:47 +0000)]
* xfaces.c: Doc fixes.
Put interrupt input blocking in a separate file from xterm.h.
This isn't specific to X, and it allows us to avoid #including
xterm.h in files that don't really have anything to do with X.
* blockinput.h: New file.
* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
(x_input_blocked, x_pending_input): Deleted; there are analogs
in blockinput.h called interrupt_input_blocked and
interrupt_input_pending.
* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
New variables, used by the macros in blockinput.h.
* xterm.c: #include blockinput.h.
(x_input_blocked, x_pending_input): Deleted.
(XTread_socket): Test and set interrupt_input_blocked and
interrupt_input_pending instead of the old variables.
* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
#include blockinput.h.
* eval.c: #include blockinput.h instead of xterm.h.
* keyboard.c: #include blockinput.h.
(input_poll_signal): Just test
interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
x_input_blocked.
Block the processing of interrupt input while we're manipulating the
malloc heap.
* alloc.c: (xfree): New function, to make it easy to free things
safely.
(xmalloc, xrealloc): Block X input while doing the deed.
(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
instead of free.
(uninterrupt_malloc): New function, to install input-blocking
hooks into the GNU malloc routines.
* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
on startup.
* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
Use xmalloc instead of malloc; don't bother to check if out of
memory here.
(Fgarbage_collect): Call xrealloc instead of realloc.
* buffer.c: Use xmalloc and xfree instead of malloc and free;
don't bother to check if out of memory here.
(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
calls to ralloc routines.
* insdel.c: Same.
* lisp.h (xfree): New extern declaration.
* xfaces.c (xfree): Don't #define this to be free; use the
definition in alloc.c.
* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
xmenu.c, xterm.c: Use xfree instead of free.
* hftctl.c: Use xfree and xmalloc instead of free and malloc.
* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
and malloc.
* search.c: Since the regexp routines can malloc, BLOCK_INPUT
while runing them. #include blockinput.h.
* sysdep.c: #include blockinput.h. Call xfree and xmalloc instead
of free and malloc. BLOCK_INPUT around routines which we know
will call malloc.
ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
these depend on blockinput.h.